package CRESTAURANT;

/**
 * Class that defines a working shift (Composition)
 */
public class Composition {

    /**
     * Receipt code
     */   
    private Integer receiptCode;

    /**
     * Ingredient code
     */   
    private Integer ingredientCode;

    /**
     * Quantity
     */   
    private Double quantity;

        
 	/**
	 * Default constructor
	 */
	public Composition() 
	{
	}

	/**
	 * @param receiptCode
	 * @param ingredientCode
	 * @param quantity
	 */
	public Composition(Integer receiptCode, Integer ingredientCode, Double quantity) 
	{
		this.receiptCode = receiptCode;
		this.ingredientCode = ingredientCode;
		this.quantity = quantity;
	}

	/**
	 * @return the receiptCode
	 */
	public Integer getReceiptCode() {
		return receiptCode;
	}

	/**
	 * @param receiptCode to set
	 */
	public void setReceiptCode(Integer receiptCode) {
		this.receiptCode = receiptCode;
	}

	/**
	 * @return the ingredientCode
	 */
	public Integer getIngredientCode() {
		return ingredientCode;
	}

	/**
	 * @param ingredientCode to set
	 */
	public void setIngredientCode(Integer ingredientCode) {
		this.ingredientCode = ingredientCode;
	}
	
	
	/**
	 * @return the quantity
	 */
	public Double getQuantity() {
		return quantity;
	}

	/**
	 * @param quantity to set
	 */
	public void setQuantity(Double quantity) {
		this.quantity = quantity;
	}
		
}
